package com.deer.wms.base.system.model.bill;

import com.deer.wms.common.annotation.Excel;
import lombok.Data;

/**
 * @author 李帅辰
 * @date 2021/6/9 10:52
 */
@Data
public class MaterialDetailDto extends  MaterialDetail{

    @Excel(name = "单晶编号")
    private String code;

    /// <summary>
    /// 工位编号
    /// </summary>
    @Excel(name = "工位编号")
    private String station;

    /// <summary>
    /// 晶棒规格 210 0r 295
    /// </summary>
    @Excel(name = "晶棒规格")
    private String productType;

    /// <summary>
    /// 晶棒测量长度,单位mm
    /// </summary>
    @Excel(name = "晶棒测量长度")
    private String measuringlength;

    /**单晶组合**/
    private String WorkShop;

    /// <summary>
    /// 检测结果（0表示OK， 1表示NG，3表示灰度异常，4表示长度异常，5表示宽度异常，6表示位置异常）
    /// </summary>
    @Excel(name = "检测结果",readConverterExp = "0 =ok,1=NG,3=灰度异常,4=长度异常,5=宽度异常,位置异常")
    private Integer result;

    /// <summary>
    /// 边缘崩损长度
    /// </summary>
    @Excel(name = "边缘崩损长度")
    private Integer param0;

    /// <summary>
    /// 中间崩损长度
    /// </summary>
    @Excel(name = "中间崩损长度")
    private Integer paramnoEdget;
    /// <summary>
    /// 备用
    /// </summary>
    private Integer param1;

    /// <summary>
    /// 棱崩长度
    /// </summary>
    private Integer param2;

    /// <summary>
    /// 备用
    /// </summary>
    private Integer param3;

    /// <summary>
    /// 拼缝长度
    /// </summary>
    private Integer param4;

    /// <summary>
    /// 备用
    /// </summary>
    private Integer param5;

    /// <summary>
    /// 备用
    /// </summary>
    private Integer param6;

    /// <summary>
    /// 缺陷总长
    /// </summary>
    private Integer param7;

    /// <summary>
    /// 备用
    /// </summary>
    private Integer param8;

    /// <summary>
    /// 备用
    /// </summary>
    private Integer param9;

    /// 缺陷类型（1：拼缝； 2：崩损； 5：棱崩；）
    /// </summary>
    @Excel(name = "缺陷类型",readConverterExp = "1=拼缝,2=崩损,3=棱崩")
    private String name;

    /// <summary>
    /// 缺陷左上角x坐标
    /// </summary>
    private String x;

    /// <summary>
    /// 缺陷左上角y坐标
    /// </summary>
    private String y;
    /// <summary>
    /// 缺陷宽度
    /// </summary>
    private String w;

    /// <summary>
    /// 缺陷高度/长度
    /// </summary>
    private String h;

    /// <summary>
    /// 启用，内容为1-8，用于确定缺陷在哪个面
    /// </summary>
    private String y0;

    /// <summary>
    /// 备用字段，目前未启用
    /// </summary>
    private String y1;

    private String f_Degree;

}
